/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.student.tp3assignment2.polymorphism;

import com.student.tp3assignment2.encapsulation.Impl.PersonImpl;

/**
 *
 * @author Student
 */
public class Student extends PersonImpl {
    String faculty;
    String department;
    String course;
    String startYear;

    public void SetFaculty(String faculty)
    {
        this.faculty = faculty;
    }

    public String GetFaculty()
    {
        return faculty;
    }

    public void SetDepartment(String dept)
    {
        department = dept;
    }

    public String GetDepartment()
    {
        return department;
    }

    public void SetCourse (String course)
    {
        this.course = course;
    }

    public String GetCourse()
    {
        return course;
    }

    public void SetStartYear(String year)
    {
        startYear = year;
    }

    public String GetStartYear()
    {
        return startYear;
    }

    public void SetStudentID(String id) {
       super.SetPersonID(id);
    }

    public String GetStudentID() {
       return super.GetPersonID();
    }

    public void SetStudentFirstName(String firstName) {
         super.SetPersonFirstName(firstName);
    }

    public String GetStudentFirstName() {
        return " Student First Name: " + super.GetPersonFirstName();
    }

    public void SetStudentLastName(String lastName) {
       super.SetPersonLastName(lastName);
    }

    public String GetPStudentLastName() {
        return " Student Last Name: " + super.GetPersonLastName();
    }

    public void SetStudentGender(String gender) {
       super.SetPersonGender(gender);
    }

    public String GetStudentGender() {
        return super.GetPersonGender();
    }

    public void SetStudentDateOfBirth(String dateOfBirth) {
        super.SetPersonDateOfBirth(dateOfBirth);
    }

    public String GetStudentDateOfBirth() {
        return super.GetPersonDateOfBirth();
    }


}
